Skip to content

Conversation

llogiq
Copy link
Contributor

@llogiq llogiq commented Jan 8, 2020

This just replaces a trivial if condition with a |= in two places.

I could even have used a fold in the first case, but I think it would be less readable.

@rust-highfive
Copy link
Contributor

r? @varkor

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 8, 2020
@varkor
Copy link
Contributor

varkor commented Jan 8, 2020

r=me after amending the fix.

@varkor
Copy link
Contributor

varkor commented Jan 8, 2020

@llogiq: could you squash the changes into a single commit?

@llogiq llogiq force-pushed the ch-ch-ch-ch-changes branch from 4806564 to 74ea108 Compare January 8, 2020 22:00
@llogiq
Copy link
Contributor Author

llogiq commented Jan 8, 2020

Done.

@varkor
Copy link
Contributor

varkor commented Jan 8, 2020

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 8, 2020

📌 Commit 74ea108 has been approved by varkor

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 8, 2020
Centril added a commit to Centril/rust that referenced this pull request Jan 8, 2020
Small improvements in lexical_region_resolve

This just replaces a trivial `if` condition with a `|=` in two places.

I could even have used a `fold` in the first case, but I think it would be less readable.
bors added a commit that referenced this pull request Jan 9, 2020
Rollup of 12 pull requests

Successful merges:

 - #67630 (Treat extern statics just like statics in the "const pointer to static" representation)
 - #67747 (Explain that associated types and consts can't be accessed directly on the trait's path)
 - #67884 (Fix incremental builds of core by allowing unused attribute.)
 - #67966 (Use matches macro in libcore and libstd)
 - #67979 (Move `intravisit` => `rustc_hir` + misc cleanup)
 - #67986 (Display more informative ICE)
 - #67990 (slice patterns: harden match-based borrowck tests)
 - #68005 (Improve E0184 explanation)
 - #68009 (Spell check librustc_error_codes)
 - #68023 (Fix issue #68008)
 - #68024 (Remove `-Z continue-parse-after-error`)
 - #68026 (Small improvements in lexical_region_resolve)

Failed merges:

r? @ghost
@bors bors merged commit 74ea108 into rust-lang:master Jan 9, 2020
@llogiq llogiq deleted the ch-ch-ch-ch-changes branch January 9, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants